package com.iweipan.bean;

import java.util.List;

/**
 * Created by xyb on 2016/12/8.
 */

public class CreateOrder {

    /**
     * result : [{"addTime":"2016-12-08 16:24:04","balance":471.64,"belongsid":"16","buyDirection":1,"buyMoney":8,"buyPrice":3775,"count":1,"couponFlag":0,"fee":0.6,"mobile":0,"money":-8.6,"orderId":3019793,"orderType":1,"payType":101,"proDesc":"银币","productId":4,"reType":1,"remark":"100.0克 1手","spec":"克","weight":100}]
     * sumProfit : 480.8
     * status : true
     * sumHands : 93
     * sumOrder : 11
     * code : 200
     * msg : 查询成功
     */

    private double sumProfit;
    private boolean status;
    private int sumHands;
    private int sumOrder;
    private String code;
    private String msg;
    private List<ResultBean> result;

    public double getSumProfit() {
        return sumProfit;
    }

    public void setSumProfit(double sumProfit) {
        this.sumProfit = sumProfit;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public int getSumHands() {
        return sumHands;
    }

    public void setSumHands(int sumHands) {
        this.sumHands = sumHands;
    }

    public int getSumOrder() {
        return sumOrder;
    }

    public void setSumOrder(int sumOrder) {
        this.sumOrder = sumOrder;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * addTime : 2016-12-08 16:24:04
         * balance : 471.64
         * belongsid : 16
         * buyDirection : 1
         * buyMoney : 8
         * buyPrice : 3775
         * count : 1
         * couponFlag : 0
         * fee : 0.6
         * mobile : 0
         * money : -8.6
         * orderId : 3019793
         * orderType : 1
         * payType : 101
         * proDesc : 银币
         * productId : 4
         * reType : 1
         * remark : 100.0克 1手
         * spec : 克
         * weight : 100
         */

        private String addTime;
        private double balance;
        private String belongsid;
        private int buyDirection;
        private int buyMoney;
        private int buyPrice;
        private int count;
        private int couponFlag;
        private double fee;
        private int mobile;
        private double money;
        private int orderId;
        private int orderType;
        private int payType;
        private String proDesc;
        private int productId;
        private int reType;
        private String remark;
        private String spec;
        private int weight;

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }

        public String getBelongsid() {
            return belongsid;
        }

        public void setBelongsid(String belongsid) {
            this.belongsid = belongsid;
        }

        public int getBuyDirection() {
            return buyDirection;
        }

        public void setBuyDirection(int buyDirection) {
            this.buyDirection = buyDirection;
        }

        public int getBuyMoney() {
            return buyMoney;
        }

        public void setBuyMoney(int buyMoney) {
            this.buyMoney = buyMoney;
        }

        public int getBuyPrice() {
            return buyPrice;
        }

        public void setBuyPrice(int buyPrice) {
            this.buyPrice = buyPrice;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getCouponFlag() {
            return couponFlag;
        }

        public void setCouponFlag(int couponFlag) {
            this.couponFlag = couponFlag;
        }

        public double getFee() {
            return fee;
        }

        public void setFee(double fee) {
            this.fee = fee;
        }

        public int getMobile() {
            return mobile;
        }

        public void setMobile(int mobile) {
            this.mobile = mobile;
        }

        public double getMoney() {
            return money;
        }

        public void setMoney(double money) {
            this.money = money;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public int getOrderType() {
            return orderType;
        }

        public void setOrderType(int orderType) {
            this.orderType = orderType;
        }

        public int getPayType() {
            return payType;
        }

        public void setPayType(int payType) {
            this.payType = payType;
        }

        public String getProDesc() {
            return proDesc;
        }

        public void setProDesc(String proDesc) {
            this.proDesc = proDesc;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getReType() {
            return reType;
        }

        public void setReType(int reType) {
            this.reType = reType;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }
    }
}
